/**
 * 
 */
package com.mindtree.vi.dbaccess.datatypes.problem;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.mindtree.vi.dbaccess.datatypes.Datatype;

/**
 * @author venkatesh
 * 
 */
@Entity
@Table(name = "VI_EXAMPLE")
public class Example implements Datatype {

	@Column(name = "problem_id", insertable = false, updatable = false)
	private long problemId;

	@Id
	@Column(name = "example_id")
	private long exampleId;

	@Column(name = "example_input")
	private String exampleInput;
	
	@Column(name = "example_output")
	private String exampleOutput;

	public long getProblemId() {
		return problemId;
	}

	public void setProblemId(long problemId) {
		this.problemId = problemId;
	}

	public long getExampleId() {
		return exampleId;
	}

	public void setExampleId(long exampleId) {
		this.exampleId = exampleId;
	}

	public String getExampleInput() {
		return exampleInput;
	}

	public void setExampleInput(String exampleInput) {
		this.exampleInput = exampleInput;
	}

	public String getExampleOutput() {
		return exampleOutput;
	}

	public void setExampleOutput(String exampleOutput) {
		this.exampleOutput = exampleOutput;
	}
}
